package com.yuchen.ishop.file.service;

import org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput;

import java.io.IOException;

/**
 * @author Jack Q
 *
 */
public interface FileService {

    FileResponse upload(final MultipartFormDataInput input) throws IOException;

    FileResponse delete(String fileUrl) throws IOException;
}
